package cn.od.moutian.controller;

import cn.od.moutian.service.TestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by zxw on 2018/10/09 0009.
 * 微信app支付统一接口
 */
@RequestMapping("api/wxh5")
@Slf4j
@RestController
public class TestController {
    @Resource
    TestService testService;

    /*
     * 测试用接口
     * */
    @PostMapping(value="/test")
    public String test(@RequestParam String test) {
        String methodName = "TestController.test";
        log.info("methodName:{}|test:{}", methodName, test);
        return "123";
    }

}
